package org.example.springbootproject.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("user")
public class User {
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;
    private String username;
    private String password;
    private String role;
    private LocalDateTime lastLoginTime;
    private String lastLoginIp;
}
